lectures.alex.balgavy.eu

Lecture notes from university.
git clone git://git.alex.balgavy.eu/lectures.alex.balgavy.eu.git
Log | Files | Refs | Submodules

Symbol List.tmPreferences (836B)


      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <plist version="1.0">
      3 <dict>
      4 	<key>name</key>
      5 	<string>Symbol List</string>
      6 	<key>scope</key>
      7 	<string>source.asp meta.class.identifier.asp, source.asp meta.method.identifier.asp</string>
      8 	<key>settings</key>
      9 	<dict>
     10 		<key>showInSymbolList</key>
     11 		<integer>1</integer>
     12 		<key>symbolTransformation</key>
     13 		<string><![CDATA[
     14 			s/(\[[^\]]*\])|\b_\b\s*|\(.*|(\s{2,})/$1(?2 )/g; (?# this ignores anything in square brackets, and:
     15 			- finds an underscore line continuation character and any whitespace following it, and replaces it with nothing
     16 			- finds an open paren and anything following it, and replaces it with nothing
     17 			- collapses multiple spaces into one
     18 			We don't have to worry about comments, because they are not allowed after an underscore.)
     19 		]]></string>
     20 	</dict>
     21 </dict>
     22 </plist>